package com.example.programming.sys.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.example.programming.common.tools.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * <p>
 * 章节 chrimer
 * </p>
 *
 * @author chrimer
 * @since 2020-06-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class Chapter extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 课程名称
     */
    private String course;

    /**
     * 章节名称
     */
    private String chapterName;
    private String url;
    private String teacher;
    private Integer chapterSort;
    private String videoName;

    @TableField(exist = false)
    private String homework;

}
